package gui.sidebar.database;

import queped.quepedconstants.Strings;

import javax.swing.*;
import java.awt.event.ActionListener;

/**
 * Created by:  Jason Ye
 * Date:        15/02/2012
 * Time:        13:49
 */
public class DatabaseSpecPanel extends JPanel {

    private JButton specifyDBPropertiesButton;

    public DatabaseSpecPanel() {
        this.specifyDBPropertiesButton = new JButton("Spec");
        // titled border
        this.setBorder(BorderFactory.createTitledBorder(Strings.DBSPEC));
        this.add(specifyDBPropertiesButton);
    }

    public void addSpecifyDBSpecButtonListener(ActionListener listener) {
        specifyDBPropertiesButton.addActionListener(listener);
    }


}
